package week06;

import week06.AbstractPersonCmp;
import week06.Person;

public class PersonCmpByHeight extends AbstractPersonCmp {
    @Override
    public int compare(Person p1, Person p2) {
        return p1.getHeight()-p2.getHeight();
    }
}
